<form id="edit-form" class="form-horizontal form-ajax" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Group')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_select('department[]', $groupdata, $row['department'], ['class'=>'form-control selectpicker', 'multiple'=>'', 'data-rule'=>'required'])}
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('所属标签')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_select('group[]', $position_data, $groupids, ['class'=>'form-control selectpicker', 'multiple'=>'', ''])}
        </div>
    </div>
    <div class="form-group">
        <label for="name" class="control-label col-xs-12 col-sm-2">{:__('Username')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" id="name" name="row[username]" value="{$row.username}" data-rule="required;name" />
        </div>
    </div>
     <div class="form-group">
        <label for="name" class="control-label col-xs-12 col-sm-2">{:__('身份证号')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" id="id_number" name="row[id_number]" value="{$row.id_number}" data-rule="required;id_number" />
        </div>
    </div>
     <div class="form-group">
        <label for="name" class="control-label col-xs-12 col-sm-2">{:__('银行卡号')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" id="card_number" name="row[card_number]" value="{$row.card_number}" data-rule="required;card_number" />
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">是否转正:</label>
        <div class="col-xs-12 col-sm-8">

            <select  id="c-is_zhengshi" data-rule="required" class="form-control selectpicker" name="row[is_zhengshi]">
                {foreach name="getzhengshiList" item="vo"}
                <option value="{$key}" {in name="key" value="$row.is_zhengshi"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>
        </div>
    </div>
    <div class="form-group">
        <label for="email" class="control-label col-xs-12 col-sm-2">{:__('Email')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="email" class="form-control" placeholder="没有可不填写" id="email" name="row[email]" value="{$row.email}" />
        </div>
    </div>
    <div class="form-group">
        <label for="alias" class="control-label col-xs-12 col-sm-2">{:__('Nickname')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" placeholder="没有可不填写" id="alias" name="row[alias]" autocomplete="off" value="{$row.alias}" />
        </div>
    </div>
    <div class="form-group">
        <label for="position" class="control-label col-xs-12 col-sm-2">{:__('Position')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" id="position" name="row[position]" autocomplete="off" value="{$row.position}" />
        </div>
    </div>
    <div class="form-group">
        <label for="password" class="control-label col-xs-12 col-sm-2">{:__('Password')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="password" class="form-control" id="password" name="row[password]" autocomplete="new-password" value="" data-rule="password" />
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Isleader')}:</label>
        <div class="col-xs-12 col-sm-8">

            <select  id="c-isleader" data-rule="required" class="form-control selectpicker" name="row[isleader]">
                {foreach name="isleaderList" item="vo"}
                <option value="{$key}" {in name="key" value="0"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Telephone')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-telephone" class="form-control form-control" placeholder="没有可不填写" name="row[telephone]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('row[status]', ['Normal'=>__('Normal'), 'Hidden'=>__('Hidden')], $row['status'])}
        </div>
    </div>
    <div class="form-group hidden layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>